-{{#if scope}}
  {{scope}}:
{{~/if}}
{{#if subject}}
  {{~subject}}
{{~else}}
  {{~header}}
{{~/if}}
{{#if references~}}
  {{~#each references}}
    [{{~this.repository}}#{{this.issue}}]({{~@root.repoUrl}}/{{~@root.issue}}/{{this.issue}}){{/each}}
{{~else}}
  [{{shortHash}}]({{~@root.repoUrl}}/{{~@root.commit}}/{{hash}})
{{~/if}}